projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43650c3
)
x86 hvm: Make sure that we correctly tear down the vlapic periodic
author
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Apr 2008 15:32:51 +0000
(16:32 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Wed, 9 Apr 2008 15:32:51 +0000
(16:32 +0100)
timer when the vlapic is destroyed or reset.
Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com>
xen/arch/x86/hvm/vlapic.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/hvm/vlapic.c
b/xen/arch/x86/hvm/vlapic.c
index d354440084690bef82e614c076dc9782ad01265e..d66e3c26cf4b26dd2693fefcd7ab1b218343255b 100644
(file)
--- a/
xen/arch/x86/hvm/vlapic.c
+++ b/
xen/arch/x86/hvm/vlapic.c
@@
-789,6
+789,8
@@
void vlapic_reset(struct vlapic *vlapic)
vlapic_set_reg(vlapic, APIC_SPIV, 0xff);
vlapic->hw.disabled |= VLAPIC_SW_DISABLED;
+
+ destroy_periodic_time(&vlapic->pt);
}
/* rearm the actimer if needed, after a HVM restore */